﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SoulDoorEngine.Components.Smart2D.Objects;

namespace SoulDoorEngine.Components.Smart2D.Events
{
    public class LastFrameEventArgs : EventArgs
    {
        private int _FrameCount;
        private int _CircleCount;

        /// <summary>
        /// 经历循环数
        /// </summary>
        public int CircleCount
        {
            get { return _CircleCount; }
            set { _CircleCount = value; }
        }

        /// <summary>
        /// 一次循环中的帧数
        /// </summary>
        public int FrameCount
        {
            get { return _FrameCount; }
            set { _FrameCount = value; }
        }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="frameCount">经历循环数</param>
        /// <param name="circleCount">一次循环中的帧数</param>
        public LastFrameEventArgs(int frameCount, int circleCount)
        {
            this.FrameCount = frameCount;
            this.CircleCount = circleCount;
        }
    }
}
